package com.example.backblog.controller.front.blog;

import com.example.backblog.controller.base.BaseController;
import com.example.backblog.dto.blog.TagDto;
import com.example.backblog.entity.blog.Tag;
import com.example.backblog.repository.blog.TagRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController()
@RequestMapping("/tag")
public class TagController extends BaseController<Tag, TagDto, TagRepository> {
    @Autowired
    @Override
    public void setBaseRepository(TagRepository baseRepository) {
        this.baseRepository = baseRepository;
    }
}
